﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DynCMS.NET.Core.Entities.Base;

namespace DynCMS.NET.Core.Interfaces
{
    public interface IIdentityRepository<T> where T : EntityWithAutoId
    {
        /// <summary>
        /// Gets the entity specified by id.
        /// </summary>
        /// <param name="id">The id.</param>
        /// <returns></returns>
        T Get(int id);
    }
}